#include <string>
#include <iostream>
using namespace std;
class ContactsException
{
private:
    string message;
public:
    ContactsException(std::string str = "A problem") : message(str){};
    string what() const
    {
        return message;
    }
};

